//
//  JCPhotoCollectionViewCell.h
//  AXLPhotoBower
//
//  Created by gome on 2018/5/4.
//  Copyright © 2018年 gome. All rights reserved.
//

#import <UIKit/UIKit.h>
#define NotificationWhenSelectPictureName @"notificationForWhenSelectPicture"
#define NSIndexPathMax ([NSIndexPath indexPathForRow:NSUIntegerMax inSection:0])
@interface JCPhotoCollectionViewCell : UICollectionViewCell

typedef void (^SelectBlock)(BOOL isSelect, JCPhotoCollectionViewCell *cell);

@property (assign,nonatomic) BOOL isPicked;//是否已经被选择
@property (nonatomic, assign) NSInteger index;
@property (nonatomic, strong) NSIndexPath *indexPath;
@property (strong,nonatomic) SelectBlock selectBlock;
@property (strong, nonatomic) UIImageView *imageView;
@property (strong, nonatomic) UIButton *button;
@end
